package com.sl.spring.intergration.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ThymeleafController {

	@RequestMapping("index2")
	public String index(ModelMap map){
		map.addAttribute("name", "舒莉");
		return "thymeleaf/index";
	}
}
